--
-- DESCRIPTION
--
-- @COMPANY **
-- @AUTHOR **
-- @DATE ${date} ${time}
--

require "UnLua"

local MenuController_C = Class()

--function MenuController_C:Initialize(Initializer)
--end

--function MenuController_C:UserConstructionScript()
--end

--function MenuController_C:ReceiveBeginPlay()
--end

--function MenuController_C:ReceiveEndPlay()
--end

-- function MenuController_C:ReceiveTick(DeltaSeconds)
-- end

--function MenuController_C:ReceiveAnyDamage(Damage, DamageType, InstigatedBy, DamageCauser)
--end

--function MenuController_C:ReceiveActorBeginOverlap(OtherActor)
--end

--function MenuController_C:ReceiveActorEndOverlap(OtherActor)
--end

function MenuController_C:KeyUp_Pressed()
    print("MenuController_C:KeyUp_Pressed()")
    local GameMode = UE4.UGameplayStatics.GetGameMode(self)
    UE4.UBPI_Interfaces_C.SelectUp(GameMode.CurrentWidget)
end

function MenuController_C:KeyDown_Pressed()
    print("MenuController_C:KeyDown_Pressed()")
    local GameMode = UE4.UGameplayStatics.GetGameMode(self)
    UE4.UBPI_Interfaces_C.SelectDown(GameMode.CurrentWidget)
end


return MenuController_C
